Skip to content

Change package to phpdevsr/minify-fork and namespace to PHPDevsr\Minify, upgrade to PHP 8.2#1

Open
Copilot wants to merge 6 commits into
developfrom
copilot/update-package-and-namespace
Open

Change package to phpdevsr/minify-fork and namespace to PHPDevsr\Minify, upgrade to PHP 8.2#1
Copilot wants to merge 6 commits into
developfrom
copilot/update-package-and-namespace

Conversation

Copy link
Copy Markdown

Copilot AI commented May 8, 2026

Renames the Composer package and PHP namespace from the original matthiasmullie/minify / MatthiasMullie\Minify to phpdevsr/minify-fork / PHPDevsr\Minify. Replaces the matthiasmullie/path-converter dependency with the PHPDevsr fork at v2.0.0, and upgrades the minimum PHP requirement to 8.2 with modern static analysis and code quality tooling.

Changes

  • composer.json — updated name, homepage, autoload and autoload-dev namespace mappings; added PHPDevsr as maintainer and noted the original repo in the description; replaced matthiasmullie/path-converter with phpdevsr/path-converter-fork ^2.0; bumped PHP minimum to ^8.2; replaced old dev-dependencies with friendsofphp/php-cs-fixer ^3.95, nexusphp/cs-config ^3.28, phpstan/phpstan ^2.0, rector/rector ^2.0, phpunit/phpunit ^10.5||^11.0; added Composer scripts (cs, cs-fix, phpstan, phpstan-baseline, rector, rector-fix, analyze) and config.allow-plugins
  • src/ — renamed namespace MatthiasMullie\MinifyPHPDevsr\Minify in all PHP source files; updated MatthiasMullie\PathConverterPHPDevsr\PathConverter in CSS.php
  • tests/ — renamed namespace MatthiasMullie\Minify\TestsPHPDevsr\Minify\Tests in all test files
  • bin/minifycss, bin/minifyjs — updated use statement to PHPDevsr\Minify
  • .php-cs-fixer.php — updated to use nexusphp/cs-config Nexus82 ruleset for PHP 8.2
  • phpstan.neon — added PHPStan configuration at level 8 targeting src/
  • rector.php — added Rector configuration targeting PHP 8.2 with UP_TO_PHP_82, CODE_QUALITY, and DEAD_CODE sets
  • README.md — updated package name, badges, and usage examples; added attribution to the original library at https://github.com/matthiasmullie/minify

Copilot finished work on behalf of ddevsr May 8, 2026 07:48
Copilot AI requested a review from ddevsr May 8, 2026 07:48
@ddevsr ddevsr marked this pull request as ready for review May 8, 2026 07:53
@ddevsr
Copy link
Copy Markdown

ddevsr commented May 11, 2026

@copilot change matthiasmullie/path-converter package to https://github.com/PHPDevsr/path-converter-fork

Copy link
Copy Markdown
Author

Copilot AI commented May 11, 2026

@copilot change matthiasmullie/path-converter package to https://github.com/PHPDevsr/path-converter-fork

Done in commit 0913078. Updated composer.json to require phpdevsr/path-converter-fork ^1.0 and updated src/CSS.php to use the new PHPDevsr\PathConverter namespace.

Copilot finished work on behalf of ddevsr May 11, 2026 01:55
@ddevsr
Copy link
Copy Markdown

ddevsr commented May 11, 2026

@copilot phpdevsr/path-converter-fork using v2.0.0 using minimum PHP 8.2, I want you make this minimum PHP 8.2 too with have Rector, PHPStan, PHP-CS-Fixer with minimum PHP 8.2

Copy link
Copy Markdown
Author

Copilot AI commented May 11, 2026

@copilot phpdevsr/path-converter-fork using v2.0.0 using minimum PHP 8.2, I want you make this minimum PHP 8.2 too with have Rector, PHPStan, PHP-CS-Fixer with minimum PHP 8.2

Done in commit fa897ab. Changes made:

  • composer.json: PHP ^8.2, phpdevsr/path-converter-fork ^2.0, dev-deps updated to phpstan/phpstan ^2.0, rector/rector ^2.0, nexusphp/cs-config ^3.28, friendsofphp/php-cs-fixer ^3.95, phpunit/phpunit ^10.5||^11.0; added Composer scripts (cs, cs-fix, phpstan, rector, etc.)
  • .php-cs-fixer.php: updated to use nexusphp/cs-config Nexus82 ruleset
  • phpstan.neon: created with level 8 targeting src/
  • rector.php: created with UP_TO_PHP_82, CODE_QUALITY, and DEAD_CODE sets

Copilot AI changed the title Change package to phpdevsr/minify-fork and namespace to PHPDevsr\Minify Change package to phpdevsr/minify-fork and namespace to PHPDevsr\Minify, upgrade to PHP 8.2 May 11, 2026
Copilot finished work on behalf of ddevsr May 11, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants