Lines Matching +full:php +full:- +full:lint
1 #!/usr/bin/env php
2 <?php
5 * Proxy PHP file generated by Composer
7 * This file includes the referenced bin path (../symfony/yaml/Resources/bin/yaml-lint)
8 * using a stream wrapper to prevent the shebang from being output on PHP<8
16 $GLOBALS['_composer_autoload_path'] = __DIR__ . '/..'.'/autoload.php';
33 $this->realpath = realpath($opened_path) ?: $opened_path;
34 $opened_path = $this->realpath;
35 $this->handle = fopen($this->realpath, $mode);
36 $this->position = 0;
38 return (bool) $this->handle;
43 $data = fread($this->handle, $count);
45 if ($this->position === 0) {
49 $this->position += strlen($data);
56 return $this->handle;
61 fclose($this->handle);
66 return $operation ? flock($this->handle, $operation) : true;
71 if (0 === fseek($this->handle, $offset, $whence)) {
72 $this->position = ftell($this->handle);
81 return $this->position;
86 return feof($this->handle);
115 … return include("phpvfscomposer://" . __DIR__ . '/..'.'/symfony/yaml/Resources/bin/yaml-lint');
119 return include __DIR__ . '/..'.'/symfony/yaml/Resources/bin/yaml-lint';