<?php explode(string $separator, string $string, int $limit = PHP_INT_MAX): array
<?php if (\is_string($this->functionWhitelist) === true) { if (\strpos($this->functionWhitelist, ',') !== false) { $this->functionWhitelist = \explode(',', $this->functionWhitelist); } else { $this->functionWhitelist = (array) $this->functionWhitelist; }
<?php return; } $namespaceParts = \explode('\\', $namespaceName); foreach ($namespaceParts as $namespacePart) { $partLc = \strtolower($namespacePart); if (isset($this->allForbiddenNames[$partLc]) === true) {
<?php return; } $namespaceParts = \explode('\\', $namespaceName); foreach ($namespaceParts as $namespacePart) { $partLc = \strtolower($namespacePart); if (isset($this->invalidNames[$partLc]) === false) {
<?php return; } $nameParts = \explode('\\', $name); $firstPart = \strtolower($nameParts[0]); if ($firstPart !== 'php') { return;
<?php protected function getSniffCode() { $class = \get_class($this); $parts = \explode('\\', $class); $sniff = \array_pop($parts); $sniff = \str_replace('UnitTest', '', $sniff); $category = \array_pop($parts);