Codebase list phpggc / 05138a64-73c1-414d-a5f8-2f7b2adaf99b/upstream/0.20221214 gadgetchains / PHPCSFixer / FD / 1 / gadgets.php
05138a64-73c1-414d-a5f8-2f7b2adaf99b/upstream/0.20221214

Tree @05138a64-73c1-414d-a5f8-2f7b2adaf99b/upstream/0.20221214 (Download .tar.gz)

gadgets.php @05138a64-73c1-414d-a5f8-2f7b2adaf99b/upstream/0.20221214raw · history · blame

<?php

namespace PhpCsFixer
{
//https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/v2.17.3/src/FileRemoval.php
    class FileRemoval
    {

        function __construct($remote_path)
        {
            $this->files = [$remote_path => $remote_path];

        }

    }
}

/* 
    public function __destruct()
    {
        $this->clean();
    }




    public function clean()
    {
        foreach ($this->files as $file => $value) {
            $this->unlink($file);
        }
        $this->files = [];
    }

    private function unlink($path)
    {
        @unlink($path);
    }
}
*/


?>