sabre-io / cache

:handbag: Simple cache abstraction layer implementing PSR-16
BSD 3-Clause "New" or "Revised" License
54 stars 10 forks source link

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

Closed phil-davis closed 1 year ago

phil-davis commented 1 year ago

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[bot] commented 1 year ago

Codecov Report

Merging #45 (3ffeea7) into master (1d80519) will increase coverage by 0.02%. The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master      #45      +/-   ##
============================================
+ Coverage     98.70%   98.72%   +0.02%     
  Complexity       85       85              
============================================
  Files             4        4              
  Lines           154      157       +3     
============================================
+ Hits            152      155       +3     
  Misses            2        2              
Impacted Files Coverage Δ
lib/Apcu.php 100.00% <100.00%> (ø)
lib/Memcached.php 100.00% <100.00%> (ø)
lib/Memory.php 100.00% <100.00%> (ø)
lib/MultipleTrait.php 90.47% <100.00%> (ø)

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