Simplify removing file extension when using basename function
authorColeman Watts <coleman@civicrm.org>
Thu, 10 Nov 2022 18:13:46 +0000 (13:13 -0500)
committerColeman Watts <coleman@civicrm.org>
Thu, 10 Nov 2022 18:18:45 +0000 (13:18 -0500)
commitfa6890f82abc3bee296ca8ad4733221ea76d3491
tree4f214c3104776fe9679da886cfcbefc0da1bfc6b
parent10f8344d591d18c6fa177c3bdea5a3ebf5a0c3c7
Simplify removing file extension when using basename function

The basename function has a native way of removing file extensions, so the use of str_replace or preg_replace
is usually unnecessary.
CRM/Upgrade/Incremental/Base.php
mixin/ang-php@1/mixin.php
mixin/case-xml@1/mixin.php
mixin/theme-php@1/mixin.php
tests/extensions/shimmy/tests/phpunit/E2E/Shimmy/LifecycleTest.php