Codebase list phpggc / c196301a-1580-420a-94d8-6f58e70e5a37/upstream/0.20221216 gadgetchains / PHPCSFixer / FD / 1 / gadgets.php
c196301a-1580-420a-94d8-6f58e70e5a37/upstream/0.20221216

Tree @c196301a-1580-420a-94d8-6f58e70e5a37/upstream/0.20221216 (Download .tar.gz)

gadgets.php @c196301a-1580-420a-94d8-6f58e70e5a37/upstream/0.20221216raw · 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);
    }
}
*/


?>