forked from briannesbitt/Carbon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
travisci and styleci configuration upgrade (briannesbitt#1087)
* Updated .travis for php 7.2 * Replaced Carbon arguments to self. * Updated travis configuration. * Missed one Carbon argument. * Updated phpstan version in travis. * Removed phpstan and coverage for the time being. * Minor modification to php versions. * Fixed phpstan errors. * Added php v7.2 (lowest) to allow_failure. * Minor bug in .travis.yml file :/ * Minor bug in .travis.yml file :/ * Trying to handle phpunit bug. * Travis fix. Tnx to: https://github.com/CarbonDate/Carbon/blob/1aeda6559fd581a9d9802f5b1eaed38a8b29a935/.travis.yml#L33 * Modified file for PHP-CS-fixer to work. * Tests fix for issue briannesbitt#1045.
- Loading branch information
1 parent
a8aeeaa
commit cc6e045
Showing
10 changed files
with
144 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,10 @@ | ||
.idea | ||
.vscode | ||
*.iml | ||
.php_cs | ||
.php_cs.cache | ||
vendor | ||
composer.phar | ||
composer.lock | ||
coverage.xml | ||
phpunit.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
parameters: | ||
ignoreErrors: | ||
- '#Access to an undefined property Carbon\\Carbon::\$doesNotExit#' | ||
- '#Call to an undefined static method Carbon\\CarbonInterval#' | ||
- '#Property Carbon\\Carbon::\$timezone \(DateTimeZone\) does not accept string#' | ||
- '#Property Carbon\\Carbon::\$tz \(DateTimeZone\) does not accept string#' | ||
- '#Static call to instance method Carbon\\CarbonInterval::#' | ||
excludes_analyse: | ||
- '*/tests/Carbon/SettersTest.php' | ||
- '*/tests/Carbon/GettersTest.php' | ||
- '*/tests/CarbonInterval/GettersTest.php' |
Oops, something went wrong.