Record the PHP web roots the index placed `$_SERVER['DOCUMENT_ROOT']` includes under (#3298), for a later sync to compare against.
(snapshot = this.resolver.getPhpWebRootSnapshot())
| 1019 | |
| 1020 | /** Record the PHP web roots the index placed `$_SERVER['DOCUMENT_ROOT']` includes under (#3298), for a later sync to compare against. */ |
| 1021 | private stampPhpWebRoots(snapshot = this.resolver.getPhpWebRootSnapshot()): void { |
| 1022 | try { |
| 1023 | this.queries.setMetadata(PHP_WEB_ROOTS_METADATA_KEY, snapshot); |
| 1024 | } catch { /* metadata is advisory */ } |
| 1025 | } |
| 1026 | |
| 1027 | /** Record the module-config files the index was resolved by, for a later sync to compare against (see sync). */ |
| 1028 | private stampModuleConfigSnapshot(): void { |
no test coverage detected