Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from PowerKiKi/drop-bridge
Browse files Browse the repository at this point in the history
Drop `laminas/laminas-zendframework-bridge` and `zendframework/*` compatibility
  • Loading branch information
Ocramius authored Dec 8, 2021
2 parents 0476953 + e927d7b commit e72846e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
7 changes: 3 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@
},
"require": {
"php": "^7.3 || ~8.0.0",
"laminas/laminas-stdlib": "^2.7.7 || ^3.1",
"laminas/laminas-zendframework-bridge": "^1.0"
"laminas/laminas-stdlib": "^2.7.7 || ^3.1"
},
"require-dev": {
"laminas/laminas-coding-standard": "~1.0.0",
Expand Down Expand Up @@ -58,7 +57,7 @@
"test": "phpunit --colors=always",
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
},
"replace": {
"zendframework/zend-file": "^2.8.3"
"conflict": {
"zendframework/zend-file": "*"
}
}
22 changes: 12 additions & 10 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/ClassFileLocatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ public function testIgnoresMethodsNamedAfterKeywords()
}, []);

$expected = [
TestAsset\WithMethodsNamedAfterKeywords\WithReturnTypeDeclaration::class,
TestAsset\WithMethodsNamedAfterKeywords\WithoutReturnTypeDeclaration::class,
TestAsset\WithMethodsNamedAfterKeywords\WithReturnTypeDeclaration::class,
];

$this->assertEquals($expected, $classNames, '', 0.0, 10, true);
Expand Down

0 comments on commit e72846e

Please sign in to comment.