Importing core files has changed in CakePHP 2.x, which means you have to change
App::uses('Sanitize', 'Utility');. Also remove the
$uses statement, it’s for loading models and
Sanitize is not a model.
With those modifications, your snippet will look like:
class MyController extends AppController
$test = Sanitize::paranoid($data);