Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust code style to meet current php-cs-fixer #231

Merged
merged 2 commits into from Jan 20, 2023

Conversation

phil-davis
Copy link
Contributor

php-cs-fixer is reporting these. I guess there has been a newer php-cs-fixer version released that is different.

It wants "root" classes and functions to use the leading \ - \DateTime.

We could change some php-cs-fixer rule settings, but actually it is easy to accept these code-style changes.

@codecov
Copy link

codecov bot commented Jan 20, 2023

Codecov Report

Merging #231 (263ad72) into master (5051b30) will increase coverage by 0.21%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##             master     #231      +/-   ##
============================================
+ Coverage     96.68%   96.90%   +0.21%     
  Complexity      116      116              
============================================
  Files            13       13              
  Lines           453      485      +32     
============================================
+ Hits            438      470      +32     
  Misses           15       15              
Impacted Files Coverage Δ
lib/Writer.php 100.00% <ø> (ø)
lib/Serializer/functions.php 97.77% <66.66%> (ø)
lib/LibXMLException.php 100.00% <100.00%> (ø)
lib/Reader.php 97.50% <100.00%> (+0.08%) ⬆️
lib/Element/Uri.php 100.00% <0.00%> (ø)
lib/ContextStackTrait.php 100.00% <0.00%> (ø)
lib/Element/XmlFragment.php 100.00% <0.00%> (ø)
lib/Service.php 98.59% <0.00%> (+0.13%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@phil-davis phil-davis merged commit 11e7b68 into sabre-io:master Jan 20, 2023
@phil-davis phil-davis deleted the fix-ci-20230120 branch January 20, 2023 07:19
@phil-davis phil-davis mentioned this pull request Jun 9, 2023
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.

None yet

1 participant