Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-12783

Remove require: phpbb/phpbb from Extensions composer.json files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-RC2
    • 3.1.0-RC1
    • Extensions
    • None

      We currently check require: phpbb/phpbb

      	public function validate_require_phpbb()
      	{
      		if (!isset($this->metadata['require']['phpbb/phpbb']))
      		{
      			return false;
      		}
       
      		return true;
      	}

      However this blocks using the composer.json file for dependencies of the extension, because no package phpbb/phpbb exists. (Also block stuff like using scrutinizer for code quality and other tools that check the deps)

      We should move that to the extra section as we did with the extensions display-name, so extensions can use dependencies correctly.

            nickvergessen Joas Schilling
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: