Skip to content

Commit dcb8bd3

Browse files
committed
update deps
1 parent e72882d commit dcb8bd3

File tree

5 files changed

+10
-8
lines changed

5 files changed

+10
-8
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/vendor
22
/composer.lock
3-
/.php_cs.cache
4-
/.php_cs
3+
/.php-cs-fixer.cache
4+
/.php-cs-fixer.php
55
/tests/fixtures/**/vendor/
66
/tests/test-git/
77
/coverage/
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
<?php
22

3-
$finder = PhpCsFixer\Finder::create()
3+
$finder = (new PhpCsFixer\Finder())
44
->files()
55
->in(__DIR__.'/src')
66
->in(__DIR__.'/tests')
77
->name('*.php')
88
;
99

10-
return PhpCsFixer\Config::create()
10+
return (new PhpCsFixer\Config())
1111
->setUsingCache(true)
1212
->setRiskyAllowed(true)
1313
->setRules(array(
1414
'@PSR2' => true,
1515
'@Symfony' => true,
1616
'array_syntax' => array('syntax' => 'long'),
17+
'visibility_required' => array('elements' => array('property', 'method')),
1718
))
1819
->setFinder($finder);

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ composer global require ion-bazan/composer-diff
2525
```shell script
2626
composer diff # Displays packages changed in current git tree compared with HEAD
2727
composer diff --help # Display detailed usage instructions
28-
```
28+
```
2929

3030
## Example output
3131

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
},
2727
"require-dev": {
2828
"composer/composer": "^1.1 || ^2.0",
29-
"symfony/console": "^2.3 || ^3.0 || ^4.0 || ^5.0",
30-
"symfony/phpunit-bridge": "^4.2 || ^5.0"
29+
"symfony/console": "^2.3 || ^3.0 || ^4.0 || ^5.0 || ^6.0",
30+
"symfony/phpunit-bridge": "^4.2 || ^5.0 || ^6.0"
3131
},
3232
"suggest": {
3333
"composer/composer": "To use the binary without composer runtime",

src/Url/GitlabGenerator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ public function getCompareUrl(PackageInterface $initialPackage, PackageInterface
3939
$baseUrl = $this->getRepositoryUrl($initialPackage);
4040
$baseMaintainer = $this->getUser($initialPackage);
4141
$targetMaintainer = $this->getUser($targetPackage);
42-
if ($baseMaintainer !== $targetMaintainer ) {
42+
43+
if ($baseMaintainer !== $targetMaintainer) {
4344
return $this->getReleaseUrl($targetPackage); // Could not get a compare URL, using release URL instead
4445
}
4546

0 commit comments

Comments
 (0)