code: def test_warp_reproject_like_invalid_params(runner, tmpdir):
      srcname = "tests/data/shade.tif"
      outputname = str(tmpdir.join("test.tif"))
      bad_params = [
          ["--dimensions", "10", "10"],
          ["--dst-crs", "EPSG:4326"],
          ["--bounds", "0", "0", "10", "10"],
          ["--res", "10"],
      ]
  
      for param in bad_params:
          result = runner.invoke(
              warp.warp,
              [srcname, outputname, "--like", srcname] + param,
          )
  
          assert result.exit_code == 2
          assert "--like cannot be used with any of" in result.output
  
imports: import os
  import affine
  import numpy
  import pytest
  import rasterio
  from rasterio.warp import SUPPORTED_RESAMPLING
  from rasterio.rio import warp
  from rasterio.rio.main import main_group
label_desc: Use image node_id 28 for calling a global function with example usage: test_warp_reproject_like_invalid_params(runner, tmpdir) without return types