Find a Rector rule

Find the best Rector rule to solve your problem. Searching through 1097 rules.

Found 1 rule. That's the one: Clear

symfony/asset-mapper 1 match

Replace deprecated ImportMapConfigReader::splitPackageNameAndFilePath() with ImportMapEntry::splitPackageNameAndFilePath()

-use Symfony\Component\AssetMapper\ImportMap\ImportMapConfigReader;
-
-[$packageName, $filePath] = ImportMapConfigReader::splitPackageNameAndFilePath('foo/bar.js');
+[$packageName, $filePath] = \Symfony\Component\AssetMapper\ImportMap\ImportMapEntry::splitPackageNameAndFilePath('foo/bar.js');