@@ -363,20 +363,21 @@ public function createHashes(): string
363363 'created ' => $ dateTime ->format ('Y-m-d H:i:sP ' ),
364364 ];
365365 $ ignoredFiles = [
366- '/config/constants.php ' => false ,
367- '/config/constants_elasticsearch.php ' => false ,
368- '/config/database.php ' => false ,
369- '/config/elasticsearch.php ' => false ,
370- '/config/ldap.php ' => false ,
366+ '/content/core/config/azure.php ' => false ,
367+ '/content/core/config/constants.php ' => false ,
368+ '/content/core/config/constants_elasticsearch.php ' => false ,
369+ '/content/core/config/database.php ' => false ,
370+ '/content/core/config/elasticsearch.php ' => false ,
371+ '/content/core/config/ldap.php ' => false ,
371372 ];
372373 $ current = '' ;
373374
374375 try {
375376 foreach ($ files as $ file ) {
376377 if (
377- 'php ' === pathinfo ((string ) $ file ->getFilename (), PATHINFO_EXTENSION ) && !preg_match (
378- ' #/tests/# ' ,
379- ( string ) $ file -> getPath ()
378+ 'php ' === pathinfo ((string ) $ file ->getFilename (), PATHINFO_EXTENSION ) && !str_contains (
379+ ( string ) $ file -> getPath () ,
380+ ' /tests/ '
380381 )
381382 ) {
382383 $ current = str_replace (PMF_ROOT_DIR , '' , (string ) $ file ->getPathname ());
0 commit comments