File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 "type" : " phpbb-extension" ,
44 "description" : " phpBB Ideas centre for phpBB 3.2." ,
55 "homepage" : " https://www.phpbb.com" ,
6- "version" : " 2.2.1 " ,
6+ "version" : " 2.2.2-dev " ,
77 "license" : " GPL-2.0-only" ,
88 "authors" : [
99 {
3434 }
3535 ],
3636 "require" : {
37- "php" : " >=5.4 " ,
37+ "php" : " >=5.5 " ,
3838 "composer/installers" : " ~1.0"
3939 },
4040 "extra" : {
4141 "display-name" : " phpBB Ideas" ,
4242 "soft-require" : {
43- "phpbb/phpbb" : " >=3.2.1,<3.4 "
43+ "phpbb/phpbb" : " >=3.2.1"
4444 }
4545 }
4646}
Original file line number Diff line number Diff line change @@ -25,13 +25,15 @@ class ext extends \phpbb\extension\base
2525 * The current phpBB version should meet or exceed
2626 * the minimum version required by this extension:
2727 *
28- * Requires phpBB 3.2.1 due to use of $event->update_subarray();
28+ * Requires phpBB 3.2.1 due to use of $event->update_subarray()
29+ * and PHP 5.5.0 due to use of array_column()
2930 *
3031 * @return bool
3132 * @access public
3233 */
3334 public function is_enableable ()
3435 {
35- return phpbb_version_compare (PHPBB_VERSION , '3.2.1 ' , '>= ' );
36+ return phpbb_version_compare (PHPBB_VERSION , '3.2.1 ' , '>= ' )
37+ && phpbb_version_compare (PHP_VERSION , '5.5.0 ' , '>= ' );
3638 }
3739}
You can’t perform that action at this time.
0 commit comments