← HomepageAll repository proofValidation recordState of TS Architecture 2026
Repository proof
PHP CS Fixer architecture
Changing src/Preg.php in PHP CS Fixer reaches 485 modules. 125 files call it directly. Snapshot e90a422.
The first file to open in PHP CS Fixer is src/Preg.php. A change there reaches 485 of 670 modules.
This lead file reaches 72% of the graph. The median published proof reaches 60%.
Median 60%. Thick bar is blast share. Thin bar is fan-in.
Project: PHP CS Fixer · Score: 80.4/100 (Healthy architecture) · 670 modules · 3,800 edges · PHP · 17 of 21 · Language score median 86.9
- Cycles
- 23
- Duplicate authorities
- 0
- God modules
- 41
- Layer violations
- 0
arc impact src/Preg.phpUnder 3 minutes to first arc impact on a TypeScript monorepo (internal runs).
README badge
[](https://arcsight.ai/repositories/php-cs-fixer/)Blast radius paths
Ranked by blast radius. Fan-in is direct dependents. Blast radius is downstream modules reachable from that file.
PHP CS Fixer · e90a422
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 1 | src/ concentrates too many responsibilities, shared utility hub | 125 | 485 | 72% |
| 2 | src/ concentrates too many responsibilities, shared utility hub | 30 | 428 | 64% |
| 3 | src/ concentrates too many responsibilities | 21 | 414 | 62% |
| 4 | src/ | 31 | 403 | 60% |
| 5 | src/ | 17 | 401 | 60% |
All ranked files
| Rank | File | Fan-in | Blast | Share |
|---|---|---|---|---|
| 6 | src/ | 260 | 400 | 60% |
| 7 | src/ | 137 | 400 | 60% |
| 8 | src/ | 301 | 399 | 60% |
Highest fan-in
Circular dependencies
This snapshot records 23 dependency cycles.
Nearby proofs
- PhpSpreadsheet architecture 78.2/100 · 552 modules
- Livewire architecture 90/100 · 535 modules
- Doctrine ORM architecture 81/100 · 474 modules
Snapshot notes
In friendsofphp php-cs-fixer, a change that begins in Preg.php keeps traveling until it reaches RuleSet AbstractRuleSetDefinition.php, with RuleSet RuleSetDefinitionInterface.php as the third file on that walk and the ROOT_CLUSTER group as the group around them, snapshot mark fdfebdccaa.
Future.php is worth opening beside Preg.php because Analysis NamespaceUseAnalysis.php still participates when Future.php moves, and Tokenizer Token.php stays in view for friendsofphp php-cs-fixer, snapshot mark fdfebdccaa.
Review FixerConfiguration FixerConfigurationResolverInterface.php only after RuleSet AbstractRuleSetDefinition.php and FixerDefinition FixerDefinition.php are both on the table, since the link from Tokenizer Tokens.php back to RuleSet RuleSetDefinitionInterface.php belongs to friendsofphp php-cs-fixer under snapshot mark fdfebdccaa.
FixerDefinition FixerDefinitionInterface.php and FixerDefinition CodeSample.php are later stops, and a reviewer who has already seen Preg.php should still look at RuleSet AbstractRuleSetDefinition.php before treating the ROOT_CLUSTER group as understood for friendsofphp php-cs-fixer, snapshot mark fdfebdccaa.
RuleSet AbstractRuleSetDefinition.php closes the file list after RuleSet RuleSetDefinitionInterface.php and Preg.php, which keeps the friendsofphp php-cs-fixer note tied to snapshot mark fdfebdccaa, and the files named in this paragraph are the ones the review is willing to stand on.
Subsystem overview
- ROOT_CLUSTER (523 modules)
- Console-ConfigurationResolver.php (68 modules)
CLI workflow
Impact, then scan, fix, finish, and watch.
arc impact <file>See what a change breaksarc scanFind issuesarc fixApply fixesarc finishResolve remainingarc watchKeep clean
FAQ
- Which file should change first in friendsofphp php-cs-fixer: Preg.php?
- Start with Preg.php, because the rest of the friendsofphp php-cs-fixer walk leaves from that file and RuleSet AbstractRuleSetDefinition.php is the next file in the same review. Commit fdfebdccaa records it.
- What else is on the friendsofphp php-cs-fixer walk besides Preg.php and RuleSet RuleSetDefinitionInterface.php?
- RuleSet RuleSetDefinitionInterface.php and Future.php stay on the walk with Analysis NamespaceUseAnalysis.php, which are different files from Preg.php inside the ROOT_CLUSTER group for friendsofphp php-cs-fixer. Commit fdfebdccaa records it.
- How should a reviewer use Tokenizer Token.php in the friendsofphp php-cs-fixer snapshot?
- Keep Tokenizer Token.php, FixerConfiguration FixerConfigurationResolverInterface.php, and FixerDefinition FixerDefinition.php open together, then check Tokenizer Tokens.php before merging the friendsofphp php-cs-fixer change. Commit fdfebdccaa records it.
- Where does the friendsofphp php-cs-fixer review stop after FixerDefinition FixerDefinitionInterface.php?
- Stop after FixerDefinition FixerDefinitionInterface.php, FixerDefinition CodeSample.php, and Preg.php have been compared with RuleSet AbstractRuleSetDefinition.php, leaving the ROOT_CLUSTER group until those friendsofphp php-cs-fixer files are clear. Commit fdfebdccaa records it.
Run ArcSight on your repo
Install locally, then run arc impact on the file you plan to change — before merge.
Embed this report
Use this iframe to show the architecture badge on your site.
<iframe src="https://arcsight.ai/embed/php-cs-fixer/" width="320" height="180" frameborder="0"></iframe>Explore
Evidence-backed analysis snapshot. snapshot.json · How ArcSight measures blast radius · Install · Homepage demo